﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Infrastructure.Cache
{
    public interface IMemoryCacheService
    {
        T Get<T>(string key);
        void Set<T>(string key, T t);
        void Set<T>(string key, T t, TimeSpan time);
        void Del(string key);
    }
}
